/*
 * AESDecrypter.h
 *
 *  Created on: Mar 22, 2010
 *      Author: Lukasz Spintzyk
 */

#ifndef AESDECRYPTER_H_
#define AESDECRYPTER_H_

#include "ph.h"
#include <openssl/aes.h>
#include "BigInteger.h"

class AESDecrypter
{
public:
	AESDecrypter(BigInteger& init_vector, byte* key);
	virtual ~AESDecrypter();

	virtual void decrypt(void* buffer, uint32_t size) = 0;

protected:
	BigInteger iv;
	AES_KEY d_key;
};

#endif /* DECRYPTER_H_ */
